﻿using MediatR;
using System.ComponentModel.DataAnnotations;

namespace T_vehicle.API.Application.Command.MaintenanceCommand
{
    public class AddMaintenanceCommand:IRequest<int>
    {
        /// <summary>
        /// 保养记录ID
        /// </summary>
      
        public int MaintenanceId { get; set; }

        /// <summary>
        /// 标题
        /// </summary>
        /// 
     
        public string? MaintenanceTitle { get; set; }

        /// <summary>
        /// 车牌号
        /// </summary>
        /// 
      
        public string? LicenNumber { get; set; }

        /// <summary>
        /// 保养金额
        /// </summary>
        public decimal? MaintenanceMoney { get; set; }

        /// <summary>
        /// 保养负责人
        /// </summary>
        /// 
       
        public string? Head { get; set; }

        /// <summary>
        /// 当前里程数
        /// </summary>
        public decimal? Mileage { get; set; }

        /// <summary>
        /// 上次保养日期
        /// </summary>
        public DateTime? MaintenanceDate { get; set; }

        /// <summary>
        /// 上次保养里程数
        /// </summary>
        public decimal? MaintenanceMileage { get; set; }

        /// <summary>
        /// 当前保养日期
        /// </summary>
        public DateTime? MaintenanceDateNow { get; set; }

        /// <summary>
        /// 保养项目
        /// </summary>
        /// 
       
        public string? Project { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        /// 
      
        public string? Remark { get; set; }
    }
}
